<?php
class Qr{
    public function get($number){
        require_once '../core/phpqrcode.php';
        $text = 'http://star.bid999.com/'.$number;
        $outfile = false;
        $level = QR_ECLEVEL_L;
        $size = 30;
        $margin = 1;
        $saveandprint = false;
        QRcode::png($text,$outfile,$level,$size,$margin,$saveandprint);
    }
}